package com.cyms.modules.order.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * 派车付款记录
 * 
 * @author low
 * @email tolower@foxmail.com
 * @date 2018-12-19 00:49:45
 */
@TableName("cy_order_car_pay")
public class OrderCarPayEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long id;
	/**
	 * 派遣单id
	 */
	private Long orderCarId;
	/**
	 * 付款金额
	 */
	private BigDecimal payAmount;
	/**
	 * 付款方式
	 */
	private String payType;
	/**
	 * 发票号码
	 */
	private String invoice;
	/**
	 * 发票金额
	 */
	private BigDecimal invoiceAmount;
	/**
	 * 付款时间
	 */
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
	private Date payDate;
	/**
	 * 备注
	 */
	private String remark;

	/**
	 * 设置：
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：派遣单id
	 */
	public void setOrderCarId(Long orderCarId) {
		this.orderCarId = orderCarId;
	}
	/**
	 * 获取：派遣单id
	 */
	public Long getOrderCarId() {
		return orderCarId;
	}
	/**
	 * 设置：付款金额
	 */
	public void setPayAmount(BigDecimal payAmount) {
		this.payAmount = payAmount;
	}
	/**
	 * 获取：付款金额
	 */
	public BigDecimal getPayAmount() {
		return payAmount;
	}
	/**
	 * 设置：付款方式
	 */
	public void setPayType(String payType) {
		this.payType = payType;
	}
	/**
	 * 获取：付款方式
	 */
	public String getPayType() {
		return payType;
	}
	/**
	 * 设置：发票号码
	 */
	public void setInvoice(String invoice) {
		this.invoice = invoice;
	}
	/**
	 * 获取：发票号码
	 */
	public String getInvoice() {
		return invoice;
	}
	/**
	 * 设置：发票金额
	 */
	public void setInvoiceAmount(BigDecimal invoiceAmount) {
		this.invoiceAmount = invoiceAmount;
	}
	/**
	 * 获取：发票金额
	 */
	public BigDecimal getInvoiceAmount() {
		return invoiceAmount;
	}
	/**
	 * 设置：付款时间
	 */
	public void setPayDate(Date payDate) {
		this.payDate = payDate;
	}
	/**
	 * 获取：付款时间
	 */
	public Date getPayDate() {
		return payDate;
	}
	/**
	 * 设置：备注
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	/**
	 * 获取：备注
	 */
	public String getRemark() {
		return remark;
	}
}
